<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="stylesheet" href="/css/index.css">
  <link rel="stylesheet" href="/libs/swiper/css/swiper.min.css">
  <title>新鲜现做 就是幸福西饼</title>
</head>

<body>
  <header></header>
  <!-- banner -->
  <!-- <div class="banner">
    <img src="/images/banner.jpg" alt="">
  </div> -->
  <div class="swiper-container banner">
    <div class="swiper-wrapper">
        <div class="swiper-slide">
            <img src="/images/banner.jpg" alt="" />
        </div>
        <div class="swiper-slide">
            <img src="/images/banner1.jpg" alt="" />
        </div>
        <div class="swiper-slide">
            <img src="/images/banner2.jpg" alt="" />
        </div>
    </div>
    <!-- 如果需要分页器 -->
    <div class="swiper-pagination"></div>

    <!-- 如果需要导航按钮 -->
    <div class="swiper-button-prev boult"></div>
    <div class="swiper-button-next boult"></div>
</div>

  

  <!-- main -->
  <!-- 本地数据渲染 -->
  <div class="main" id="categoryList">
  </div>
  <script type="text/html" id="categoryTemplate">
    {{each list item}}
      <div class="{{item.className}}">
        <img src="{{item.src}}" alt="">
        <a href="#">
          <span>{{item.etitle}} </span>
          <b>{{item.title}}</b>
        </a>
        <p>{{item.des}}</p>
      </div>
    {{/each}}
  </script>
  <footer></footer>
  <script src="/libs/jquery/require/require.min.js" data-main="/js/index"></script>
</body>

</html>